home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2003 November / PCWK1103B.iso / DesignCAD 3D Max PLUS trial 30 / DATA1.CAB / Example_Files / Sample_Macros / Circle Radius.d3m < prev    next >
Encoding:
Text File  |  2003-09-29  |  491 b   |  21 lines

  1. ' This macro prompts users for the radius, then draws a circle at that
  2. ' radius with a centerpoint of 0.0.0
  3. '
  4. ' Un-remark these next 2 lines to make the input box appear in the upper 
  5. ' left corner of the DesignCAD window, so it does not cover the drawing area.
  6.     ' Sys(130) = 5
  7.     ' Sys(131) = 5
  8. ' Get Distances from user
  9.     Input "Circle Radius", Radiu$
  10. '
  11. >Circle4
  12. {
  13.   <Color 0,0,0
  14.   <Layer 1
  15.   <LineStyle 0,2.0000,0.0000
  16.   <PointXYZ 0,0,0
  17.   <Type 0
  18.   <Radius [Radiu$]
  19.   }
  20.  
  21.